package com.lemon.entity;

public class Cpu {
    private String model; // cpu型号
    private Integer logicCoreNumber = 0; // cpu逻辑核心数量
    private Integer avgUsageRate = 0; // 平均使用率
    private Integer physicCoreNumber; // cpu物理核心数量

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Integer getLogicCoreNumber() {
        return logicCoreNumber;
    }

    public void setLogicCoreNumber(Integer logicCoreNumber) {
        this.logicCoreNumber = logicCoreNumber;
    }

    public Integer getAvgUsageRate() {
        return avgUsageRate;
    }

    public void setAvgUsageRate(Integer avgUsageRate) {
        this.avgUsageRate = avgUsageRate;
    }

    public Integer getPhysicCoreNumber() {
        return physicCoreNumber;
    }

    public void setPhysicCoreNumber(Integer physicCoreNumber) {
        this.physicCoreNumber = physicCoreNumber;
    }

    @Override
    public String toString() {
        return "Cpu{" +
                "model='" + model + '\'' +
                ", logicCoreNumber=" + logicCoreNumber +
                ", avgUsageRate=" + avgUsageRate +
                ", physicCoreNumber=" + physicCoreNumber +
                '}';
    }
}
